if the LockText of card field "sc" is not false & the LockText of card field "sw" is not false
then
set the name of card button id 9 to "Unlocked"
set the highlite of card button "Lock" to false
set the LockText of card field "sc" to false
set the LockText of card field "sw" to false
else
go card
end if
end mouseUp
-- part 11 (button)
-- low flags: 00
-- high flags: 6006
-- rect: left=59 top=169 right=187 bottom=77
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Lock
----- HyperTalk script -----
on mouseUp
if the LockText of card field "sc" is false & the LockText of card field "sw" is false
then
set the name of card button id 9 to "Locked"
set the highlite of card button "Unlock" to false
set the LockText of card field "sc" to true
set the LockText of card field "sw" to true
else
go card
end if
end mouseUp
-- part 14 (field)
-- low flags: 01
-- high flags: 2002
-- rect: left=11 top=207 right=232 bottom=210
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 12
-- style flags: 1024
-- line height: 16
-- part name: stop character
-- part 16 (button)
-- low flags: 00
-- high flags: 2006
-- rect: left=223 top=208 right=231 bottom=242
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: switch
----- HyperTalk script -----
on mouseUp
if the highlite of bkgnd button "hide field" is false
then
set the highlite of bkgnd button "hide field" to true
else
if the highlite of bkgnd button "hide field" is true
then set the highlite of bkgnd button "hide field" to false
else
go card
end if
end if
end mouseUp
-- part contents for card part 1
----- text -----
Settings
-- part contents for card part 2
----- text -----
Information
-- part contents for card part 3
----- text -----
Introduction
Mail Call 1.0 is a mail notification
stack for use with UUPC 3.1. It may also work with other Macintosh UUCP transport programs but it has only been tested with UUPC 3.1. If you don't know what UUCP or UUPC 3.1 is then you don't need this stack :-)
Requirements
Mail Call was developed with HyperCard v.1.2.5 and requires v.1.2.5 or later to operate.
(note: Mail Call will NOT work with the HyperCard v.2.1 that came with System 7.1, it requires a fully functional version of HyperCard to run).
Installation
Put a copy of Mail Call somewhere on your disk where it will be handy (if you're using System 7 you can put it wherever you want and use an alias to open it).
Make a note of the full path to the folder where UUPC puts your incoming mail, for example:
Alliance Drive‚Ñ¢:UUCP:mail:
Make a note of the names of all the files you want Mail Call to check, for example:
paul
ron
Postmaster
Setup
Enter the full path for each mail file you want to check into one of the "Mail Files" fields on the previous card, for example:
Alliance Drive‚Ñ¢:UUCP:mail:paul
You must enter the full and correct path for each mail file you want to check in order for Mail Call to function.
Find the two radio buttons on the left side of this card and toggle them so that the button in between says "Unlocked."
Enter a stop character in the
"Stop Character" input field on the left side of this card, for example: m
(note: Mail Call reads your mail files until it reaches the character designated by the "Stop Character:" input field, this character should be the last character of the first word that appears in your mail files. If your using UUPC 3.1 then the first word is probably "From" and the last character of the first word would be "m")
Enter the first word (see above) in the "First Word:" input field on the left side of this card, for example: From
Toggle the radio buttons so that the button in between says
"Locked"
Usage
To use Mail Call simply open this stack and click the "Check For Mail" button on the previous card.
If any of the mail files you have entered contains mail, the box to the right of that file's field will be checked.
Trouble-shooting
Problem: Mail Call creates new files in my mail folder whenever I click "Check For Mail"
Solution: Make sure you have entered the correct information in the "Mail Files" fields.
Problem: Mail Call says I don't have mail when I know that I do.
Solution: Make sure you have entered the correct information in the "Stop Character:" and "First Word:" input fields. Try opening your mail files with a text editor to find out what the first word is.
Miscellaneous
Mail Call can only check a maximum of ten mail files. If you need to check more files just make a copy of this stack, rename it, and enter ten more file names. This is also useful for shared systems where each person has several mail files.
Mail Call is PostcardWare. If you like it and find it useful please send me a postcard and/or e-mail and let me know who you are, how you're using Mail Call, and if you've thought of any improvements.
Sincerely,
Paul Bricmont
paul@bricmont.sbay.org
1139 Sierra Avenue
San Jose, California 95126
United States of America
Version History
1.0 1/28/95
First release version.
1.1 5/3/95
Minor bug fix release. Fixes a small script error that prevented the 8th mail file field from working correctly.